/*
 * @Author: qiangqiang.cao
 * Copyright (c) 2023 - 2024, Shanghai Rural Commercial Bank Co., LTD. ALL rights reserved.
 */
import { Button } from '@LOW-CODE/shadcn/components/ui/button'
import { Home } from 'lucide-react'
import { NavLink } from 'react-router-dom'


export function EditorNavigator() {
    return (
        <nav className="flex flex-row justify-between items-center h-[46px] pl-3 pr-4 border-b">
            <div className="flex items-center justify-center">
                <NavLink to="/">
                    <Button variant="ghost" size="icon" className="size-8">
                        <Home size={24} />
                    </Button>
                </NavLink>
                <p className="ml-3 font-bold text-sm">低代码页面</p>
            </div>
            <div>
                <Button size="sm">分享</Button>
            </div>
        </nav>
    )
}